 window.onload = function () { 
    new uploadPreview({ UpBtn: "image", DivShow: "imgdiv1", ImgShow: "imgShow1" ,callback: function() {uploadImage("/ajax/uploadImage/","image","Image",$("#oldThumbImage"),thumbInit)}});
var thumbInit=function(){
    new uploadPreview({ UpBtn: "image", DivShow: "imgdiv1", ImgShow: "imgShow1" ,callback: function() {uploadImage("/ajax/uploadImage/","image","Image",$("#oldThumbImage"),thumbInit)}});
	}
}